package com.tarena.sentinel.demo01.slot.impl;

import com.tarena.sentinel.demo01.slot.Slot;

public class FirstSlot implements Slot{
    private Slot slot;
    public FirstSlot(Slot slot){
        this.slot=slot;
    }

    @Override
    public void checkSlot() {
        //firstSlot的逻辑 执行
        slot.checkSlot();
    }

    @Override
    public void statistic() {

    }
}
